package com.jeecg.demo.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

@Entity
@Table(name = "sys_coalmine_type", schema = "")
@SuppressWarnings("serial")
public class SysCoalmineTypeEntity implements java.io.Serializable {
	
	private java.lang.Integer id;
	private java.lang.String code;
	private java.lang.String name;
	private java.lang.Integer status;
	
	@Id
	@GeneratedValue(strategy = GenerationType.TABLE, generator = "SYS_COALMINE_TYPE")
	@TableGenerator(name = "SYS_COALMINE_TYPE", pkColumnValue = "SYS_COALMINE_TYPE", table = "sys_sequence", pkColumnName = "name", valueColumnName = "sysid", initialValue = 1, allocationSize = 1)
	@Column(name = "ID", nullable = true, length = 20)
	public java.lang.Integer getId() {
		return id;
	}
	public void setId(java.lang.Integer id) {
		this.id = id;
	}
	@Column(name = "CODE", nullable = true, length = 19)
	public java.lang.String getCode() {
		return code;
	}
	public void setCode(java.lang.String code) {
		this.code = code;
	}
	@Column(name = "NAME", nullable = true, length = 19)
	public java.lang.String getName() {
		return name;
	}
	public void setName(java.lang.String name) {
		this.name = name;
	}
	@Column(name = "STATUS", nullable = true, length = 19)
	public java.lang.Integer getStatus() {
		return status;
	}
	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}
	
	

}
